package org.mp4parser.boxes.iso14496.part15;

import org.mp4parser.boxes.samplegrouping.GroupEntry;

import java.nio.ByteBuffer;

/**
 * This sample group is used to mark temporal layer access (TSA) samples.
 */
public class TemporalSubLayerSampleGroup extends GroupEntry {
    public static final String TYPE = "tsas";
    int i;

    @Override
    public void parse(ByteBuffer byteBuffer) {
    }

    @Override
    public String getType() {
        return TYPE;
    }

    @Override
    public ByteBuffer get() {
        return ByteBuffer.allocate(0);
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;


        return true;
    }

    @Override
    public int hashCode() {
        return 41;
    }
}
